import request from "@/utils/request";

// 查询月报模版配置详情列表
export function listBizMonthModelDetials(query) {
  return request({
    url: "/biz/bizMonthModelDetials/list",
    method: "get",
    params: query,
  });
}

// 查询月报模版配置详情详细
export function getBizMonthModelDetials(id) {
  return request({
    url: "/biz/bizMonthModelDetials/" + id,
    method: "get",
  });
}

// 新增月报模版配置详情
export function addBizMonthModelDetials(data) {
  return request({
    url: "/biz/bizMonthModelDetials",
    method: "post",
    data: data,
  });
}

// 修改月报模版配置详情
export function updateBizMonthModelDetials(data) {
  return request({
    url: "/biz/bizMonthModelDetials",
    method: "put",
    data: data,
  });
}

// 删除月报模版配置详情
export function delBizMonthModelDetials(id) {
  return request({
    url: "/biz/bizMonthModelDetials/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizMonthModelDetials/findMaxSort",
    method: "get",
  });
}
// 导出月报模版配置详情
export function exportBizMonthModelDetials(query) {
  return request({
    url: "/biz/bizMonthModelDetials/export",
    method: "get",
    params: query,
  });
}
